
var circleHelper = require("helper/circle");

var root=ui("$");

//设置数据绑定的映射关系
root.setMapping({
	"do_Label_title.tag":"id",
	"do_Label_title.text":"name",
	"do_Label_desc.text":"remark",
	"do_ImageView_icon.source":"fullLogo"
});

//点击一个圈子
root.on("touch", function(data){
	var circleId = ui("do_Label_title").tag;
	var circleName = ui("do_Label_title").text;
	circleHelper.toCircleDetail(circleId,circleName);
});
